package com.sumainfor.pc.market.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.feign.Zfeign.ZwxTenantFeign;
import com.sumainfor.pc.market.feign.Zfeign.ZzuulFeign;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 功能描述:调用租客端 的服务
 *
 */
@Component
public class ZwxTenantFeignFallback implements ZwxTenantFeign {

    @Override
    public JsonResult getTctenForTcmkt(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult getTenId(Map<String, Object> params) {
        return JsonResult.error("租客端服务器繁忙");
    }
}

